{% import 'bootstrap/wtf.html' as wtf %}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>bootstrap/wtf/quick_form</title>
</head>
<body>
{#{{ wtf.quick_form(form) }}#}
{# quick_form() https://blog.csdn.net/qq_41090453/article/details/83040080 #}
{{ wtf.quick_form(form, id='loginform', action='/login', form_type='horizontal', horizontal_columns=('lg',4,4)) }}
</body>
</html>